package com.yixinsoft.basic.model.base;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Created by hqy on 2016/06/15. 
 */
public class BaseModel implements Serializable {

	private static final long serialVersionUID = 1L;

	@Temporal(TemporalType.TIME)
	private Date created;
	
	@Temporal(TemporalType.TIME)
	private Date updated;

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}
}
